import request from '@/utils/request'

export const getOperationsApi = (jobCode, pageNum, pageSize) => {
  return request.get(`/warehouse/operations/details?jobCode=${jobCode}&pageNum=${pageNum}&pageSize=${pageSize}`)
}
export const batchAddDetailsApi = (data) => {
  return request.post('/warehouse/operations/details/batch', data)
}
export const getByIdApi = (warehouseOperationsId) => {
  return request.get(`/warehouse/operations/details/list?warehouseOperationsId=${warehouseOperationsId}`)
}